<?php echo $this->Html->css('form'); ?>
<?php echo $this->Html->css('add_category'); ?>
<?php echo $this->Html->css('manufacturer'); ?>

<div class="form_wrapper">
    <div class="title">Technology news around the world</div>
    <ul>
        <li style="background-color:#CFCFCF">
            <ul class="itemList" style="height:40px">
                <li class="itemInfo" style="width:16%">Site</li>
                <li class="itemInfo" style="width:16%">Title</li>
                <li class="itemInfo" style="width:50%">Content</li>
            </ul>
        </li>
        <?php $t = 1; foreach ($posts as $p) { ++$t; ?>
        <li <?php if ($t % 2 == 1) {?> style="background-color:#CFCFCF" <?php } ?>>
            <ul class="itemList">
                <li class="itemInfo" style="width:16%">
                    <?=$p['New']['site'] ?>
                </li>
                <li class="itemInfo" style="width:16%">
                    <a href="<?=$p['New']['url']?>"><?=$p['New']['title']?></a>
                </li>
                <li class="itemInfo" style="width:50%"><?php echo $p['New']['content'] ?></li>
            </ul>
        </li>
        <?php } ?>
    </ul>
    <?php if ($can_add) { ?>
        <a class="btn" href="<?=$this->webroot?>news/add" style="text-decoration:none">Add a new story</a>
    <?php } ?>

    <div style="margin-top: 50px">
        Add the <a href="http://dealcrunch.com/dealcruncher/news/index.rss">link</a> to your RSS feed reader to read our latest stories
    </div>
</div>
<div style="float:none"></div>
